package com.ztgf.commodity.models.dto;

import com.baomidou.mybatisplus.annotations.TableName;
import com.ztgf.common.dto.BaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * author: chenyu.wang
 * date: 2020-06-01 14:47
 * Description: 规格属性值对象
 */
@Data
@TableName("commodity_specification_attr")
@ApiModel(value = "商品规格属性表对象", description = "商品规格属性表对象")
public class CommoditySpecificationAttrDTO extends BaseDTO implements Serializable {
    @ApiModelProperty(value = "规格表id")
    private Long specificationId;
    @ApiModelProperty(value = "属性名称")
    private String attrName;
    @ApiModelProperty(value = "状态;0正常，1删除")
    private Integer status;
    @ApiModelProperty(value = "是否上架;0未发布，1发布")
    private Integer isPublish;
}
